package com.ruoyi.know.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class UserFollow {

    /** 主键 */
    private Long id;
    /** 关注人 */
    private Long followerId;
    /** 被关注人 */
    private Long followedId;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date followerTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFollowerId() {
        return followerId;
    }

    public void setFollowerId(Long followerId) {
        this.followerId = followerId;
    }

    public Long getFollowedId() {
        return followedId;
    }

    public void setFollowedId(Long followedId) {
        this.followedId = followedId;
    }

    public Date getFollowerTime() {
        return followerTime;
    }

    public void setFollowerTime(Date followerTime) {
        this.followerTime = followerTime;
    }
}
